package com.zxy.provider;

import com.zxy.example.common.model.User;
import com.zxy.example.common.service.UserService;
import com.zxy.zxyrpc.springboot.starter.annotation.RpcService;
import org.springframework.stereotype.Service;

/**
 * @author zxy
 * @since 2025/5/30
 **/
@Service
@RpcService
public class UserServerImpl implements UserService {
    public User getUser(User user) {
        System.out.println("用户名: " + user.getName());
        System.out.println("看清你自己");
        return user;
    }
}
